﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Data.SqlServerCe;


namespace DreamIn.Structures.LocalDB.DataAccessLayer
{
    static class DALHelper
    {
        private static readonly String connectionString;
        static DALHelper()
        {
            connectionString = ConfigurationManager.ConnectionStrings["DreamInDBConnectionString"].ConnectionString;
        }
        internal static SqlCeConnection Connection
        {
            get
            {
                return new SqlCeConnection(connectionString);
            }
        }
    }
}
